GDK-Win32: Make surface ready for updates
authorChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 29 Jul 2021 10:35:08 +0000 (18:35 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 1 Dec 2021 09:32:40 +0000 (17:32 +0800)
commit82d9570ed4fba0f8e61b968fb9d2abd88a4807b1
tree6afd2af62045daa7d1b1ed08ea73260116e67a42
parent2611a996ff6c0a2bed340feb6a434a03ca7545ec
GDK-Win32: Make surface ready for updates

Make the toplevel surface respond to size computations unless it is just being
created, or maximized, made fullscreen or underwent an AeroSnap operation.

This will ensure that the surface size is properly computed in time, so that
surfaces can be resized as needed.

This will fix issues 3728 and 3799.
gdk/win32/gdksurface-win32.c
gdk/win32/gdksurface-win32.h